package com.utils;

import net.sf.json.JSONObject;

import com.bean.EmailInfo;
import com.constant.Constant;
import com.qufenqi.pay.abs.common.exception.BusinessException;

public class Check {
	public static String check(EmailInfo mail) throws Exception {
		JSONObject json = new JSONObject();
		if (!mail.getAuth().equals(Constant.getAuthKey())) {
			throw new BusinessException("BIZERROR001","身份验证码无效或已失效，请确认");
		}
		return null;
		
	}
}
